package com.scorpio.agentuser.vo;

import lombok.Data;

import javax.validation.constraints.DecimalMax;
import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotNull;

@Data
public class UpdateIncomeScaleVo {
    @NotNull(message = "非法操作")
    private Long agentId;

    //当前直推收益比例
    @NotNull(message = "百分比范围输入为0-100")
    @DecimalMax(value = "100.00", message = "百分比范围输入为0-100")
    @DecimalMin(value = "0.00", message = "百分比范围输入为0-100")
    private Float directScale;

    //当前间推收益比例
    @NotNull(message = "百分比范围输入为0-100")
    @DecimalMax(value = "100.00", message = "百分比范围输入为0-100")
    @DecimalMin(value = "0.00", message = "百分比范围输入为0-100")
    private Float indirectScale;

}
